package com.testplatfrom.project.service;

import com.testplatfrom.project.domain.TestplatfromProject;
import com.baomidou.mybatisplus.extension.service.IService;
import com.testplatfrom.project.domain.dto.project.*;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 杨森
 * @since 2023-06-26
 */
public interface TestplatfromProjectService extends IService<TestplatfromProject> {

    /***
     * 新增项目
     * @param testplatfromProjectAdd
     * @return
     */
    public boolean addTestplatfromProject(TestplatfromProjectAdd testplatfromProjectAdd);

    /***
     * 修改项目
     * @param testplatfromProjectEdit
     * @return
     */
    public Boolean updateTestplatfromProject(TestplatfromProjectEdit testplatfromProjectEdit);


    /***
     * 项目列表
     * @param testplatfromProjectPage
     * @return
     */
    public TestplatfromProjectPageVo listTestplatfromProject(TestplatfromProjectPage testplatfromProjectPage);

    /***
     * 删除项目
     * @param testplatfromProjectId
     * @return
     */
    public Boolean deleteTestplatfromProject(String testplatfromProjectId);


    /***
     * 项目详情
     * @param testplatfromProjectId
     * @return
     */
    public TestplatfromProject getDetailTestplatfromProject(String testplatfromProjectId);

    /***
     * 获取当前登录人的所拥有的项目信息
     * @return
     */
    public List<TestplatfromProjectSelectVO> selectTestplatfromProject();

}
